def timer(label=''):
    print('in timer')

    def decorator(func):
        print('in decorator')

        def onCall(*args):
            print('in oncall')
            func(*args)
        return onCall
    return decorator


@timer('test')
def listcomp(a):
    print(a*2)


# if __name__ == '__main__':
#     listcomp(1)
